import Vue from 'vue'
import VueRouter from 'vue-router'
//导入登录组件
import Login from '@/views/Login'
Vue.use(VueRouter)

const router = new VueRouter({
  routes: [
    //配置登录组件的路由规则
    { path: '/login', component: Login}
  ]
})

export default router
